package com.tosit.bmx.service.admin;
import com.tosit.bmx.domian.Area;
import com.tosit.bmx.domian.AreaUser;

import java.util.List;

/**
 * 区域接口
 * @author tsl
 * @create 2018-04-22 16:13
 **/
public interface AreaService {
    Integer addArea(Area area);

    Integer removeArea(Integer id);

    Integer modifyArea(Area area);

    List<Area> gainArea();

    Integer removeArea(List<Integer> ids);



    Integer relateUser(List<AreaUser> userIds);


    Integer deleteUser(List<Integer> auserIds);

    Integer updateUser(List<AreaUser> userIds);
}
